package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import cn.kawins.mybatis.BaseService;
import com.github.pagehelper.PageInfo;
import com.xayy.mgt.model.AssociationParameter;
import com.xayy.mgt.model.dto.NodeInfoDto;

import java.util.List;

public interface AssociationParameterService extends BaseService<AssociationParameter> {

    CheckResult<Object> saveAssociationParameter(AssociationParameter associationParameter);

    CheckResult<Object> deleteAssociationParameter(Long id);

    CheckResult<Object> deleteAssociationParameter(List<Long> ids);
    CheckResult<Object> deleteByNodeId(Long id);

    CheckResult<Object> updateAssociationParameter(AssociationParameter associationParameter);

    PageInfo<AssociationParameter> pageList(NodeInfoDto nodeInfoDto);

    AssociationParameter getAssociationParameterDetail(Long associationParameterId);

    CheckResult<Object> getParamList(Integer type, Long nodeId);

}
